package com.pig4cloud.pig.admin.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.pig4cloud.pig.admin.api.entity.PasswordList;
import com.pig4cloud.pig.admin.api.vo.PasswordListVo;
import com.pig4cloud.pig.admin.mapper.PasswordListMapper;
import com.pig4cloud.pig.admin.service.PasswordListService;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
@AllArgsConstructor
public class PasswordListServiceImpl extends ServiceImpl<PasswordListMapper, PasswordList> implements PasswordListService {

	private final PasswordListMapper passwordListMapper;

	@Override
	public List<PasswordListVo> getPasswordList(PasswordList passwordList) {
		return passwordListMapper.getPasswordList(passwordList);
	}
}
